package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/3.
 */

public class FollowDeviceSearchBloodOxyJsonBean {


    /**
     * status : true
     * message : 查询成功
     * data : {"min":0.8,"boxvygenList":[{"id":1,"boxygen":0.8,"oldmanId":26,"status":"血氧低","createTime":1508205140000,"modifyTime":1508205141000,"modifier":10001},{"id":3,"boxygen":98,"oldmanId":26,"status":"状态异常","createTime":1509000991000,"modifyTime":1509000991000,"modifier":10001}],"max":98,"status":"血压状态异常","suggest":"建议就医","average":49.4}
     */

    private boolean status;
    private String message;
    private DeviceSearchBloodOxyDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DeviceSearchBloodOxyDataBean getData() {
        return data;
    }

    public void setData(DeviceSearchBloodOxyDataBean data) {
        this.data = data;
    }

    public static class DeviceSearchBloodOxyDataBean {
        /**
         * min : 0.8
         * boxvygenList : [{"id":1,"boxygen":0.8,"oldmanId":26,"status":"血氧低","createTime":1508205140000,"modifyTime":1508205141000,"modifier":10001},{"id":3,"boxygen":98,"oldmanId":26,"status":"状态异常","createTime":1509000991000,"modifyTime":1509000991000,"modifier":10001}]
         * max : 98
         * status : 血压状态异常
         * suggest : 建议就医
         * average : 49.4
         */

        private double min;
        private double max;
        private String status;
        private String suggest;
        private double average;
        private List<BoxvygenListBean> boxvygenList;

        public double getMin() {
            return min;
        }

        public void setMin(double min) {
            this.min = min;
        }

        public double getMax() {
            return max;
        }

        public void setMax(double max) {
            this.max = max;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSuggest() {
            return suggest;
        }

        public void setSuggest(String suggest) {
            this.suggest = suggest;
        }

        public double getAverage() {
            return average;
        }

        public void setAverage(double average) {
            this.average = average;
        }

        public List<BoxvygenListBean> getBoxvygenList() {
            return boxvygenList;
        }

        public void setBoxvygenList(List<BoxvygenListBean> boxvygenList) {
            this.boxvygenList = boxvygenList;
        }

        public static class BoxvygenListBean {
            /**
             * id : 1
             * boxygen : 0.8
             * oldmanId : 26
             * status : 血氧低
             * createTime : 1508205140000
             * modifyTime : 1508205141000
             * modifier : 10001
             */

            private int id;
            private double boxygen;
            private int oldmanId;
            private String status;
            private long createTime;
            private long modifyTime;
            private int modifier;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public double getBoxygen() {
                return boxygen;
            }

            public void setBoxygen(double boxygen) {
                this.boxygen = boxygen;
            }

            public int getOldmanId() {
                return oldmanId;
            }

            public void setOldmanId(int oldmanId) {
                this.oldmanId = oldmanId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getModifier() {
                return modifier;
            }

            public void setModifier(int modifier) {
                this.modifier = modifier;
            }
        }
    }
}
